<template>
  <div class="count-down">
    <CountdownTimer @finalTimeout="onFinalCountdown" @timeout="onTimeUp" />
  </div>
</template>

<script>
import CountdownTimer from "./CountdownTimer";

export default {
  name: "ReadingCount",
  methods: {
    onFinalCountdown() {
      this.$notify({ title: "还剩5分钟" });
    },
    onTimeUp() {},
  },
  components: { CountdownTimer },
};
</script>

<style lang="scss" scoped src="./style.scss"></style>
